package cn.edu.seig.springks.pojo;

import lombok.Data;

@Data
public class user {
    int u_id;
    String account;
    String password;
    String name;
    String address;
    String phone;

    public user(int uId, String name, String address, String phone) {
        u_id = uId;
        this.name = name;
        this.address = address;
        this.phone = phone;
    }

    public user(String account, String password) {
        this.account = account;
        this.password = password;
    }

    public user(String account, String password, String address, String phone){
        this.account = account;
        this.password = password;
        this.address = address;
        this.phone = phone;
    }

    public user(String name, String address, String phone) {
        this.name = name;
        this.address = address;
        this.phone = phone;
    }

    public user() {

    }

    public user(int i) {
        this.u_id = i;
    }
}
